package com.gae.blore.client;

import java.util.List;

import com.gae.blore.client.domain.Hospital;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * Interfaces to provide hospital service
 * 
 * @author nss
 * 
 */
@RemoteServiceRelativePath("hospservice")
public interface HospitalService extends RemoteService {
	/**
	 * Retrieves all hospitals
	 * 
	 * @return List of hospitals
	 */
	public List<Hospital> getAllHospitals();

	/**
	 * Retrieves hospital details for the given identifier
	 * 
	 * @param id
	 *            Identifier
	 * @return Hospital details
	 */
	public Hospital getHospital(Long id);
}
